﻿namespace Carer.Data.Models
{
    using System;
    using System.Runtime.CompilerServices;

    public class SubmitResult
    {

        private bool _result;

        private string _message;

        public SubmitResult()
        {

        }

        public SubmitResult(bool res, string msg)
        {

            this._result = res;
            this._message = msg;
        }

        public string Message
        {

            get
            {
                return this._message;
            }

            set
            {
                this._message = value;
            }
        }

        public bool Result
        {

            get
            {
                return this._result;
            }

            set
            {
                this._result = value;
            }
        }
    }
}

